package com.fs.cv.pojo.pojoview;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p></p>
 *
 * @author : 苏明友
 * @date : 2020-10-12 09:17
 **/
public class ClassHeadmaster {
    private String className;
    private int departmentId;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date creationTime;
    //班级创建时的人数
    private int creatNumber;
    //班级总人数
    private int studentNumber;
    //班级状态
    private int classDeleted;

    private String headmasterName;
    private int headmasterDeleted;
    private String headmasterPhone;
    private int headmasterState;

    public ClassHeadmaster() {
    }

    public ClassHeadmaster(String className, int departmentId, Date creationTime, int creatNumber, int studentNumber, int classDeleted, String headmasterName, int headmasterDeleted, String headmasterPhone, int headmasterState) {
        this.className = className;
        this.departmentId = departmentId;
        this.creationTime = creationTime;
        this.creatNumber = creatNumber;
        this.studentNumber = studentNumber;
        this.classDeleted = classDeleted;
        this.headmasterName = headmasterName;
        this.headmasterDeleted = headmasterDeleted;
        this.headmasterPhone = headmasterPhone;
        this.headmasterState = headmasterState;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(int departmentId) {
        this.departmentId = departmentId;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public int getCreatNumber() {
        return creatNumber;
    }

    public void setCreatNumber(int creatNumber) {
        this.creatNumber = creatNumber;
    }

    public int getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(int studentNumber) {
        this.studentNumber = studentNumber;
    }

    public int getClassDeleted() {
        return classDeleted;
    }

    public void setClassDeleted(int classDeleted) {
        this.classDeleted = classDeleted;
    }

    public String getHeadmasterName() {
        return headmasterName;
    }

    public void setHeadmasterName(String headmasterName) {
        this.headmasterName = headmasterName;
    }

    public int getHeadmasterDeleted() {
        return headmasterDeleted;
    }

    public void setHeadmasterDeleted(int headmasterDeleted) {
        this.headmasterDeleted = headmasterDeleted;
    }

    public String getHeadmasterPhone() {
        return headmasterPhone;
    }

    public void setHeadmasterPhone(String headmasterPhone) {
        this.headmasterPhone = headmasterPhone;
    }

    public int getHeadmasterState() {
        return headmasterState;
    }

    public void setHeadmasterState(int headmasterState) {
        this.headmasterState = headmasterState;
    }

    @Override
    public String toString() {
        return "ClassHeadmaster{" +
                "className='" + className + '\'' +
                ", departmentId=" + departmentId +
                ", creationTime=" + creationTime +
                ", creatNumber=" + creatNumber +
                ", studentNumber=" + studentNumber +
                ", classDeleted=" + classDeleted +
                ", headmasterName='" + headmasterName + '\'' +
                ", headmasterDeleted=" + headmasterDeleted +
                ", headmasterPhone='" + headmasterPhone + '\'' +
                ", headmasterState=" + headmasterState +
                '}';
    }
}
